/** 
 * Copyright 2011 Noranj LTD
 *
 */

package com.noranj.web.server;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;

import com.noranj.web.client.FolderManagementService;
import com.noranj.web.shared.FolderItemDTO;

public class FolderManagementImpl extends RemoteServiceServlet implements FolderManagementService {
 
	
	public  FolderManagementImpl(){
	}
	public List<FolderItemDTO> getFolderItems(){
		List<FolderItemDTO> folderItemDTOs = new ArrayList<FolderItemDTO>();
		folderItemDTOs.add(new FolderItemDTO("Inbox","Inbox Documents",new Date()));
		folderItemDTOs.add(new FolderItemDTO("Draft","Draft Documents",new Date()));
		folderItemDTOs.add(new FolderItemDTO("Trash","Deleted Documents",new Date()));
		folderItemDTOs.add(new FolderItemDTO("Personal","Personal Documents",new Date()));
		return folderItemDTOs;
	}
}
